.main-container {
    display: block;
}

.home-banner {
    height: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
    .prev{
        position: absolute;
        left: 0;
        top:200px;
        width: 30px;
        height: 90px;
        border: none;
        background-color: rgba(255, 255, 255, .2);
        color: #525252;
        &:hover{
            background-color: rgba(255, 255, 255, .5); 
            color: #202020;
            transition: .5s;
        }
    }
    .next{
        position: absolute;
        right: 0;
        top:200px;
        width: 30px;
        height: 90px;
        border: none;
        background-color: rgba(255, 255, 255, .2);
        color: #525252;
        &:hover{
            background-color: rgba(255, 255, 255, .5); 
            color: #202020;
            transition: .5s;
        }
    }
    .swiper{
        img{
            height: 480px;
            width: 100%;
            border: none;
        }
    }
    // .show-swiper-box {
    //     height: 479px;
    //     position: absolute;

    //     .itembox {
    //         img {
    //             background-position: 50%;
    //             background-size: cover;
    //             height: 479px;
    //             width: 100%;
    //         }
    //     }

    //     .pagination-swiper {
    //         align-items: center;
    //         float: right;
    //         height: 0;
    //         justify-content: center;
    //         left: 50%;
    //         position: absolute;
    //         text-align: center;
    //         top: 0;
    //         transform: translate3d(-50%, 0, 0);
    //         transition: opacity .3s;
    //         width: 1200px;
    //         z-index: 15;

    //         .pagination-itembox {
    //             background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6) 24%, #000 52%, rgba(0, 0, 0, .6) 77%, transparent);
    //             bottom: 0;
    //             float: right;
    //             height: 479px;
    //             opacity: .9;
    //             padding-top: 48px;
    //             width: 282px;

    //             .element {
    //                 height: 48px;
    //                 box-sizing: content-box;
    //                 display: flex;
    //                 flex-direction: column;
    //                 flex-wrap: nowrap;
    //                 float: right;
    //                 justify-content: center;
    //                 padding-left: 24px;
    //                 padding-right: 24px;
    //                 width: 234px;

    //                 .title {
    //                     display: flex;
    //                     color: #fff;
    //                     font-size: 16px;
    //                     font-weight: 400;
    //                     line-height: 19px;

    //                 }

    //                 &:nth-child(7) {
    //                     background: url('../images/libg.png');
    //                     height: 97px;
    //                     box-sizing: content-box;
    //                     display: flex;
    //                     flex-direction: column;
    //                     flex-wrap: nowrap;
    //                     float: right;
    //                     justify-content: center;
    //                     padding-left: 24px;
    //                     padding-right: 24px;
    //                     width: 234px;

    //                     .title {
    //                         align-items: center;
    //                         color: #fff;
    //                         display: flex;
    //                         font-size: 20px;
    //                         font-weight: 700;
    //                         line-height: 24px;
    //                         overflow: hidden;
    //                         text-overflow: ellipsis;
    //                         transition: all .1s ease;
    //                         white-space: nowrap;

    //                         span {
    //                             border: 1px solid rgba(78, 110, 242, .3);
    //                             border-radius: 4px;
    //                             box-sizing: border-box;
    //                             color: #4e6ef2;
    //                             display: flex;
    //                             font-size: 12px;
    //                             height: 16px;
    //                             justify-content: center;
    //                             line-height: 16px;
    //                             margin-right: 5px;
    //                             padding: 0 4px;
    //                             text-align: center
    //                         }
    //                     }

    //                     .subtitle {
    //                         display: flex;
    //                         color: #fff;
    //                         font-size: 14px;
    //                         line-height: 17px;
    //                         margin-top: 14px;
    //                         overflow: hidden;
    //                         text-overflow: ellipsis;
    //                         white-space: nowrap;
    //                     }
    //                 }


    //             }


    //         }

    //     }
    // }
}

.home-main {
    margin: 0 auto;
    padding: 24px 0;
    width: 1200px;
    overflow: hidden;

    .home-main-show {
        background: #fff;
        box-sizing: border-box;
        padding: 35px 27px;
        margin: 0 auto 24px;

        .module-header {
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .module-header-title {
                display: flex;
                font-size: 20px;
                color: #333;
                line-height: 20px;
                font-weight: bold;
            }

            .module-header-title::before {
                content: '';
                width: 6px;
                height: 20px;
                background: #f14027;
                margin-right: 10px;
            }
        }

        .main {
            .x-swiper {
                width: 100%;
                position: relative;

                .x-swiper-container {
                    position: relative;
                    width: 100%;
                    align-items: center;
                    display: flex;
                    justify-content: flex-start;
                    left: 0px;
                    .x-swiper-box {
                        
                        width: 100%;
                        
                        // transform: translate3d(0px, 0px, 0px);
                        align-items: center;
                        display: flex;
                        justify-content: flex-start;

                        transition: transform 1s ease;
                        a {
                            flex-shrink: 0;
                            cursor: pointer;
                            width: 248px;
                            margin-right: 51.3333px;

                            .produce-info {
                                margin: 0 auto 20px;

                                .circle {
                                    background: #fff;
                                    border-radius: 50%;
                                    box-sizing: border-box;
                                    display: block;
                                    height: 30px;
                                    margin: 0 auto;
                                    position: relative;
                                    width: 30px;
                                }

                                .circle::before {

                                    border: 1px solid #f14027;
                                    border-radius: 50%;
                                    content: "";
                                    height: 20px;
                                    left: 50%;
                                    position: absolute;
                                    top: 50%;
                                    transform: translate3d(-50%, -50%, 0);
                                    width: 20px;
                                }

                                .circle::after {
                                    background-color: #f14027;
                                    border-radius: 50%;
                                    content: "";
                                    height: 12px;
                                    left: 50%;
                                    position: absolute;
                                    top: 50%;
                                    transform: translate3d(-50%, -50%, 0);
                                    width: 12px;
                                }

                                .time {
                                    color: #f14027;
                                    font-size: 16px;
                                    line-height: 16px;
                                    margin: 5px auto 0;
                                    text-align: center;
                                }

                            }

                            .produce {
                                height: 330px;
                                overflow: hidden;
                                position: relative;

                                .cover {
                                    height: 100%;
                                    width: 100%;
                                    top: 0;
                                    position: absolute;
                                    z-index: 0;
                                }

                                .info-box {
                                    padding: 0 20px;
                                    z-index: 999;
                                    position: absolute;
                                    bottom: 0;
                                    width: 100%;
                                    height: 20%;

                                    .game-name {
                                        color: #fff;
                                        font-size: 24px;
                                        overflow-x: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                    }

                                    .game-tags {
                                        align-items: flex-start;
                                        display: flex;
                                        flex-wrap: wrap;
                                        justify-content: flex-start;
                                        margin: 10px auto 0;

                                        span {
                                            border: 1px solid rgba(255, 255, 255, .4);
                                            border-radius: 2px;
                                            box-sizing: border-box;
                                            color: #fff;
                                            font-size: 12px;
                                            font-weight: 700;
                                            line-height: 16px;
                                            margin: 0 10px 0 0;
                                            padding: 0 4px;
                                        }
                                    }
                                }
                            }

                            .produce::before {
                                background-image: linear-gradient(180deg, transparent, #000);
                                bottom: 0;
                                content: "";
                                height: 90px;
                                left: 0;
                                opacity: .7;
                                position: absolute;
                                transition: all .5s ease;
                                width: 100%;
                                z-index: 1;
                            }
                        }
                    }
                }

                .x-swiper-prev {
                    left: 0;
                    transform: rotate(180deg);
                    background: url('../images/prev.png') 50%/cover no-repeat;
                    bottom: 125px;
                    height: 80px;
                    position: absolute;
                    transition: all .5s ease;
                    width: 30px;

                }

                .x-swiper-next {
                    right: 0;
                    background: url('../images/prev.png') 50%/cover no-repeat;
                    bottom: 125px;
                    height: 80px;
                    position: absolute;
                    transition: all .5s ease;
                    width: 30px;
                }

            }

            .x-swiper::before {
                background-color: #333;
                content: '';
                height: 1px;
                left: 0;
                position: absolute;
                top: 15px;
                width: 100%;
            }
        }
    }

    .second {
        min-height: 200px;
        position: relative;

        .title-container {
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .header-title {
                display: flex;
                font-size: 20px;
                color: #333;
                line-height: 20px;
                font-weight: bold;
            }

            .header-title::before {
                content: '';
                width: 6px;
                height: 20px;
                background: #f14027;
                margin-right: 10px;
            }
        }

        .tags-containers {
            margin-bottom: 30px;

            .tab-switch {
                overflow: hidden;

                .switch-box {
                    height: 36px;
                    overflow-y: hidden;
                    align-items: center;
                    display: flex;
                    justify-content: flex-start;
                    // overflow-x: scroll;
                    min-height: 30px;
                    position: relative;

                    .tab-item {
                        cursor: pointer;
                        display: flex;
                        justify-content: center;
                        font-size: 14px;
                        width: 80px;
                        position: relative;

                        .tab-item-span {
                            line-height: 24px;
                            text-align: center;
                            font-size: 14px;
                        }
                    }

                    .active {
                        background: #f14027;
                        border-radius: 2px;
                        color: #fff;
                        height: 24px;
                        line-height: 24px;
                        text-align: center;
                        width: 80px;
                    }

                    .active::after {
                        content: '';
                        border-radius: 1.5px;
                        background: transparent;
                        border: 5px solid transparent;
                        border-top-color: #f14027;
                        bottom: -9px;
                        height: 0;
                        width: 0;
                        left: 50%;
                        position: absolute;
                        transform: translate3d(-50%, 0, 0);
                    }
                }
            }
        }


    }
}











.rank-list-container {
    display: flex;
    min-height: 200px;

    .game-type {
        flex-grow: 0;
        flex-shrink: 0;
        margin-right: 45px;
        width: 350px;

        .list-label {
            margin-bottom: 0;
            color: #999;
            font-size: 12px;
            line-height: 18px;
            margin-bottom: 14px;
            position: relative;

            span {
                display: inline-block;
                width: 80px;

                &:last-child {
                    position: absolute;
                    right: 0;
                    text-align: right;
                }
            }

        }

        .type-list-content {
            margin-top: 20px;

            .rank-list-item {
                display: block;

                .item-link-box {
                    cursor: pointer;

                    .status-item {
                        box-sizing: border-box;
                        padding: 14px 0;
                        position: relative;
                        overflow: hidden;

                        .rank-query {
                            color: transparent;
                            height: 27px;
                            left: 12px;
                            position: absolute;
                            top: 13px;
                            width: 27px;
                            z-index: 99;
                            background: url('../images/1.png')50%/cover no-repeat;
                        }

                        .cover-img {
                            display: inline-block;
                            float: left;
                            height: 95px;
                            position: relative;
                            width: 72px;

                            img {
                                height: 100%;
                                width: 100%;
                            }
                        }

                        .game-info-box {
                            height: 95px;
                            margin-left: 80px;
                            position: relative;
                            color: #333;

                            .top {
                                color: #999;


                                .game-name {
                                    color: #333;
                                    cursor: pointer;
                                    display: inline-block;
                                    font-size: 14px;
                                    font-weight: 700;
                                    line-height: 20px;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                    width: 144px;
                                }

                                .top-middle {
                                    -webkit-line-clamp: 2;
                                    -webkit-box-orient: vertical;
                                    display: -webkit-box;
                                    font-size: 12px;
                                    line-height: 18px;
                                    max-height: 38px;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    width: 158px;
                                }
                            }

                            .middle {
                                align-items: flex-end;
                                bottom: 0;
                                color: #999;
                                display: flex;
                                font-size: 12px;
                                justify-content: space-between;
                                line-height: 18px;
                                position: absolute;
                                width: 100%;

                                .middle-box {
                                    color: #333 !important;

                                    .font {

                                        max-width: 170px;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;

                                    }

                                    .date {

                                        font-size: 12px;
                                        line-height: 18px;
                                        margin-bottom: -3px;

                                    }
                                }

                                .link-box {
                                    background: #f14027;
                                    border-radius: 3px;
                                    color: #fff;
                                    cursor: pointer;
                                    font-size: 12px;
                                    height: 24px;
                                    line-height: 24px;
                                    text-align: center;
                                    transition: all .5s ease;
                                    width: 68px;
                                }
                            }

                        }

                        &:hover {
                            background-image: linear-gradient(94deg, #ffe6df, #fff);
                        }
                    }

                }

                .divbottom {
                    background: #e6e6e6;
                    height: 1px;
                }
            }
            upcoming-wrap
            .rank-list-item::after {
                clear: both;
                content: "";
                display: block;
                height: 0;
                overflow: hidden;
            }
        }
    }
}

.type-list-title {
    background: url('../images/gametype-bg.png') 50%/cover no-repeat;
    color: #f14027;
    font-size: 18px;
    font-weight: 700;
    height: 34px;
    line-height: 34px;
    margin: 0 auto 21px;
    text-align: center;
    width: 172px;
}